package com.xxy.usercenter;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.web.bind.annotation.CrossOrigin;

@CrossOrigin    // 开启注解, 允许跨域
@SpringBootApplication
@MapperScan({"com.xxy.usercenter.mapper"})  // 自动扫描 Mapper接口
public class UserCenterApplication {

    public static void main(String[] args) {
        SpringApplication.run(UserCenterApplication.class, args);
    }

}
